<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.telnet.EchoOptionHandler类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1telnet_1_1EchoOptionHandler.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="classcommonsNet_1_1telnet_1_1EchoOptionHandler-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.telnet.EchoOptionHandler类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>实现 telnet协议 echo选项  
 <a href="classcommonsNet_1_1telnet_1_1EchoOptionHandler.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.telnet.EchoOptionHandler 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1telnet_1_1EchoOptionHandler.png" usemap="#commonsNet.telnet.EchoOptionHandler_map" alt=""/>
  <map id="commonsNet.telnet.EchoOptionHandler_map" name="commonsNet.telnet.EchoOptionHandler_map">
<area href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html" title="TelnetOptionHandler 类是用于实现 telnet 选项处理程序的基类。" alt="commonsNet.telnet.TelnetOptionHandler" shape="rect" coords="0,0,237,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a9723d6b26ebc6b46b401d19e01315323"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1EchoOptionHandler.html#a9723d6b26ebc6b46b401d19e01315323">init</a> ()</td></tr>
<tr class="memdesc:a9723d6b26ebc6b46b401d19e01315323"><td class="mdescLeft">&#160;</td><td class="mdescRight">EchoOptionHandler 的构造函数: 初始和接受行为标志设置为 false  <br /></td></tr>
<tr class="separator:a9723d6b26ebc6b46b401d19e01315323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea7d0afcb6b8625cde5246a4f9cb6944"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1EchoOptionHandler.html#aea7d0afcb6b8625cde5246a4f9cb6944">init</a> (initlocal: Bool, initremote: Bool, acceptlocal: Bool, acceptremote: Bool)</td></tr>
<tr class="memdesc:aea7d0afcb6b8625cde5246a4f9cb6944"><td class="mdescLeft">&#160;</td><td class="mdescRight">EchoOptionHandler 的构造函数。  <br /></td></tr>
<tr class="separator:aea7d0afcb6b8625cde5246a4f9cb6944"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html">commonsNet.telnet.TelnetOptionHandler</a></td></tr>
<tr class="memitem:ab9a7c85efdaba4385916a082ebc98676 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#ab9a7c85efdaba4385916a082ebc98676">init</a> (optcode: Int64, initlocal: Bool, initremote: Bool, acceptlocal: Bool, acceptremote: Bool)</td></tr>
<tr class="memdesc:ab9a7c85efdaba4385916a082ebc98676 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数：允许定义此选项的本地/远程激活所需的初始设置，以及在收到此选项的本地/远程激活请求时的行为。  <br /></td></tr>
<tr class="separator:ab9a7c85efdaba4385916a082ebc98676 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba17b6170d28e101670b4d79089a84f8 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#aba17b6170d28e101670b4d79089a84f8">answerSubnegotiation</a> (suboptionData: Array&lt;Int64&gt;, suboptionLength: Int64): ?Array&lt;Int64&gt;</td></tr>
<tr class="memdesc:aba17b6170d28e101670b4d79089a84f8 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">在接收到来自另一端的此选项的子协商时调用的方法。  <br /></td></tr>
<tr class="separator:aba17b6170d28e101670b4d79089a84f8 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a4dafaf56a76c4a27c32eb9ad68e23b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a5a4dafaf56a76c4a27c32eb9ad68e23b">getAcceptLocal</a> (): Bool</td></tr>
<tr class="memdesc:a5a4dafaf56a76c4a27c32eb9ad68e23b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示是否接受来自另一端的 DO 请求。  <br /></td></tr>
<tr class="separator:a5a4dafaf56a76c4a27c32eb9ad68e23b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83c5bb9428947b87c19920411a85d673 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a83c5bb9428947b87c19920411a85d673">getAcceptRemote</a> (): Bool</td></tr>
<tr class="memdesc:a83c5bb9428947b87c19920411a85d673 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示是否接受来自另一端的 WILL 请求。  <br /></td></tr>
<tr class="separator:a83c5bb9428947b87c19920411a85d673 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80cd2193d13d9901ad2134e08b16d20b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a80cd2193d13d9901ad2134e08b16d20b">getInitLocal</a> (): Bool</td></tr>
<tr class="memdesc:a80cd2193d13d9901ad2134e08b16d20b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示在连接时是否向另一端发送 WILL 请求。  <br /></td></tr>
<tr class="separator:a80cd2193d13d9901ad2134e08b16d20b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84781cda546d6e22b3d101c136f1cd43 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a84781cda546d6e22b3d101c136f1cd43">getInitRemote</a> (): Bool</td></tr>
<tr class="memdesc:a84781cda546d6e22b3d101c136f1cd43 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示是否在连接时向另一端发送 DO 请求。  <br /></td></tr>
<tr class="separator:a84781cda546d6e22b3d101c136f1cd43 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad13cc7594ce241f259cfa898a78b7133 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#ad13cc7594ce241f259cfa898a78b7133">getOptionCode</a> (): Int64</td></tr>
<tr class="memdesc:ad13cc7594ce241f259cfa898a78b7133 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取此选项的选项代码。  <br /></td></tr>
<tr class="separator:ad13cc7594ce241f259cfa898a78b7133 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5839ebe2dbb6a4941369d3a7a46f8356 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a5839ebe2dbb6a4941369d3a7a46f8356">setAcceptLocal</a> (accept: Bool): Unit</td></tr>
<tr class="memdesc:a5839ebe2dbb6a4941369d3a7a46f8356 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置来自另一端的 DO 请求选项的行为。  <br /></td></tr>
<tr class="separator:a5839ebe2dbb6a4941369d3a7a46f8356 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a7a44bd543f6ddc68740d877b16aab2 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a5a7a44bd543f6ddc68740d877b16aab2">setAcceptRemote</a> (accept: Bool): Unit</td></tr>
<tr class="memdesc:a5a7a44bd543f6ddc68740d877b16aab2 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置来自另一端的 WILL 请求选项的行为。  <br /></td></tr>
<tr class="separator:a5a7a44bd543f6ddc68740d877b16aab2 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cd4ca945cd8b2bff38ca18a80a0b8c8 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a7cd4ca945cd8b2bff38ca18a80a0b8c8">setInitLocal</a> (_init: Bool): Unit</td></tr>
<tr class="memdesc:a7cd4ca945cd8b2bff38ca18a80a0b8c8 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项是否在连接时发送 WILL 请求。  <br /></td></tr>
<tr class="separator:a7cd4ca945cd8b2bff38ca18a80a0b8c8 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af93c5f336cef9c09e6bfe4ce39e5dc5b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#af93c5f336cef9c09e6bfe4ce39e5dc5b">setInitRemote</a> (_init: Bool): Unit</td></tr>
<tr class="memdesc:af93c5f336cef9c09e6bfe4ce39e5dc5b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项是否在连接时发送 DO 请求。  <br /></td></tr>
<tr class="separator:af93c5f336cef9c09e6bfe4ce39e5dc5b inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85dffeebdba1eaa8a5d2da8479afe84a inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a85dffeebdba1eaa8a5d2da8479afe84a">startSubnegotiationLocal</a> (): ?Array&lt;Int64&gt;</td></tr>
<tr class="memdesc:a85dffeebdba1eaa8a5d2da8479afe84a inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">每当本地端确认此选项有效时（TelnetClient 发送 WILL，远程端发送 DO），都会调用此方法。  <br /></td></tr>
<tr class="separator:a85dffeebdba1eaa8a5d2da8479afe84a inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4525f7e8b291c2d62d1193b639efa842 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a4525f7e8b291c2d62d1193b639efa842">startSubnegotiationRemote</a> (): ?Array&lt;Int64&gt;</td></tr>
<tr class="memdesc:a4525f7e8b291c2d62d1193b639efa842 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">每当远程端确认此选项有效时（TelnetClient 发送 DO，远程端发送 WILL），都会调用此方法  <br /></td></tr>
<tr class="separator:a4525f7e8b291c2d62d1193b639efa842 inherit pub_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td colspan="2" onclick="javascript:toggleInherit('pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler')"><img src="closed.png" alt="-"/>&#160;包函数 继承自 <a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html">commonsNet.telnet.TelnetOptionHandler</a></td></tr>
<tr class="memitem:a9d186baeff3575f56bc61a0cfb52423d inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a9d186baeff3575f56bc61a0cfb52423d">getDo</a> (): Bool</td></tr>
<tr class="memdesc:a9d186baeff3575f56bc61a0cfb52423d inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示发送到另一端的 DO 请求是否已被确认。  <br /></td></tr>
<tr class="separator:a9d186baeff3575f56bc61a0cfb52423d inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af041e91ac0f7ecc2f81d6690c3f6feda inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#af041e91ac0f7ecc2f81d6690c3f6feda">getWill</a> (): Bool</td></tr>
<tr class="memdesc:af041e91ac0f7ecc2f81d6690c3f6feda inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示发送到另一端的 WILL 请求是否已被确认。  <br /></td></tr>
<tr class="separator:af041e91ac0f7ecc2f81d6690c3f6feda inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b70f96cd34647d3af8c26cd589f2834 inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a6b70f96cd34647d3af8c26cd589f2834">setDo</a> (state: Bool): Unit</td></tr>
<tr class="memdesc:a6b70f96cd34647d3af8c26cd589f2834 inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项，确定发送到另一端的 DO 请求是否已被确认。  <br /></td></tr>
<tr class="separator:a6b70f96cd34647d3af8c26cd589f2834 inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc0a165326fb40131171855172133958 inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#acc0a165326fb40131171855172133958">setWill</a> (state: Bool): Unit</td></tr>
<tr class="memdesc:acc0a165326fb40131171855172133958 inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项，确定发送到另一端的 WILL 请求是否已被确认。  <br /></td></tr>
<tr class="separator:acc0a165326fb40131171855172133958 inherit pac_methods_classcommonsNet_1_1telnet_1_1TelnetOptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>实现 telnet协议 echo选项 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a9723d6b26ebc6b46b401d19e01315323" name="a9723d6b26ebc6b46b401d19e01315323"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9723d6b26ebc6b46b401d19e01315323">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.telnet.EchoOptionHandler.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>EchoOptionHandler 的构造函数: 初始和接受行为标志设置为 false </p>

</div>
</div>
<a id="aea7d0afcb6b8625cde5246a4f9cb6944" name="aea7d0afcb6b8625cde5246a4f9cb6944"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea7d0afcb6b8625cde5246a4f9cb6944">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.telnet.EchoOptionHandler.init </td>
          <td>(</td>
          <td class="paramname"><em>initlocal</em>:&#160;</td>
          <td class="paramtype">Bool, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>initremote</em>:&#160;</td>
          <td class="paramtype">Bool, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>acceptlocal</em>:&#160;</td>
          <td class="paramtype">Bool, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>acceptremote</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>EchoOptionHandler 的构造函数。 </p>
<p>允许定义此选项的本地/远程激活所需的初始设置，以及在收到此选项的本地/远程激活请求时的行为。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">initlocal</td><td>- 如果设置为 true，则在连接时发送 WILL </td></tr>
    <tr><td class="paramname">initremote</td><td>- 如果设置为 true，则在连接时发送 DO </td></tr>
    <tr><td class="paramname">acceptlocal</td><td>- 如果设置为 true，则接受任何 DO 请求 </td></tr>
    <tr><td class="paramname">acceptremote</td><td>- 如果设置为 true，则接受任何 WILL 请求 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/telnet/<a class="el" href="echo__option__handler_8cj.html">echo_option_handler.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1telnet.html">telnet</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1telnet_1_1EchoOptionHandler.html">EchoOptionHandler</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
